package com.lyy.service.impl;

import com.lyy.entity.Student;
import com.lyy.mapper.StudentMapper;
import com.lyy.service.StudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author Liangyaoyun
 */
@Service
public class StudentServiceimpl implements StudentService {

    @Autowired
    private StudentMapper studentMapper;

    @Override
    public Student selectByStudentId(Integer studentId) {
        return studentMapper.selectByStudentId(studentId);
    }
}
